package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.BanderinhaBO;
import br.com.firula.dao.BanderinhaDAO;
import br.com.firula.to.BanderinhaTO;

@SuppressWarnings("unchecked")
@Service("banderinhaBO")
public class BanderinhaBOImpl extends GenericBOImpl implements BanderinhaBO {

    @Autowired
    public void setBanderinhaDAO(BanderinhaDAO dao) {
        this.dao = dao;
    }

    public BanderinhaBOImpl(){
    	setType("br.com.firula.to.BanderinhaTO");
    }

    public BanderinhaTO getBanderinhaById(String id) {
    	return (BanderinhaTO)get(id);
    }
}